package com.dawn.module.hospital.enums;

import com.dawn.framework.common.exception.ErrorCode;

/**
 * @description:
 * @author: cnsu-cmh
 * @time: 2024/8/7 23:14
 */
public interface ErrorCodeConstants {


    ErrorCode BH_ERROR = new ErrorCode(10000, "BH业务异常");
    ErrorCode PAY_ERROR = new ErrorCode(10001, "支付业务异常");

    // ========== 医保支付 ==========
    ErrorCode CHS_CONFIG_NOT_EXISTS = new ErrorCode(20001, "医保支付配置不存在");
    ErrorCode CHS_USER_QUERY_OUT = new ErrorCode(20002, "获取用户信息无响应");

    ErrorCode MSG_SEND_USER_NOT_EXISTS = new ErrorCode(30001, "消息推送用户不存在");

    ErrorCode PAY_CONFIG_MCHNO_NOT_EXISTS = new ErrorCode(40001,"支付配置商户号不存在");

    // ========== 病案复印 ==========
    ErrorCode MEDICAL_COPY_NOT_EXISTS = new ErrorCode(50001, "病案复印不存在");
    ErrorCode MEDICAL_COPY_CREATE_ORDER_FAILS = new ErrorCode(50002, "支付下单失败、病案复印状态不合法");

    // ========== 扫码支付 ==========
    ErrorCode QRCODE_PAY_NOT_EXISTS = new ErrorCode(60001, "扫码支付不存在");

    // ========== 发票 ==========
    ErrorCode INVOICE_NOT_EXISTS = new ErrorCode(70001, "发票不存在");
}
